"""
@Time ： 2022/10/23 10:35
@Auth ： 陈杰 200320501042
@E-mail : 1612845322@qq.com
"""


class Cat:
    type = "猫科动物"

    def __init__(self, type):
        self.type = type

    @staticmethod
    def staticmd():
        print("所有的猫都是: ", Cat.type)
        print("我家的猫是: ", myCat.type)


if __name__ == '__main__':
    myCat = Cat("波斯猫")
    Cat.staticmd()

# class Cat:
#     type = "猫科动物"
#
#     def __init__(self, type):
#         self.type = type
#
#
# if __name__ == '__main__':
#     myCat = Cat("波斯猫")
#     print("所有的猫都是: ", Cat.type)
#     print("我家的猫是: ", myCat.type)
